# Maintainer:
pkgname=py3-distutils-extra
_pyname=python-distutils-extra
pkgver=2.47
pkgrel=3
pkgdesc="Enhanced distutils package for python"
url="https://launchpad.net/python-distutils-extra"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://salsa.debian.org/python-team/modules/python-distutils-extra/-/archive/$pkgver/python-distutils-extra-$pkgver.tar.bz2"
builddir="$srcdir/$_pyname-$pkgver"

replaces="py-distutils-extra" # Backwards compatibility
provides="py-distutils-extra=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
b848b8ccfd84289e5482ba264a8d8d81cdbeba97358c9fff6fb02040eeb740bacfcc19b302e56a95b400528f7e03390ea4073b8c80d1e5a5e61e1b6c46b39648  python-distutils-extra-2.47.tar.bz2
"
